
class Base{
	protected:
		int val;
	public:
		Base(int i) : val(i) {}
};

class Derive : public Base{
		public:
				Derive(int i): Base(i){
				
				}

				void print(){
					val;
				}


};

int main() {

	Derive d(10);

	d.print();
}
